import Vue from "vue";
import VueRouter from "vue-router";
import FromDesign from '../pages/FromDesign';
import WorkSheet from '../pages/WorkSheet';
import AppList from '../pages/AppList';

Vue.use(VueRouter);
const routes = [
    {
      path: "/",
      name: "AppList",
      component: AppList,
    },
    {
        path: "/FromDesign/:appId/:workSheetId",
        name: "FromDesign",
        component: FromDesign,
    },
    {
        path: "/WorkSheet/:appId/:workSheetGroupUuid?",
        name: "WorkSheet",
        component: WorkSheet,
    }
];
const router = new VueRouter({
    routes
});
export default router;